package com.gitee.neuray.security.wb.ribs.feign;

import com.gitee.neuray.security.common.msg.TableResultResponse;
import com.gitee.neuray.security.wb.ribs.constants.WbApiConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(value = WbApiConstants.ADMIN_ADDRESS,configuration = {})
public interface StaffFeign {

    @RequestMapping(value = "/staff/page",method = RequestMethod.GET)
    TableResultResponse getStaffInfo(@RequestParam Map<String,Object> map);

}